package com.gintama.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 限制log输出
 * @author : SunFei
 * @since : 2022/6/14 10:12
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface TraceLogLimit {

    String RESPONSE_HEAD_TRACE_LOG_LIMIT = "traceLogLimit";

    String EXCEEDED_LENGTH_NOTICE = "....超出长度部分省略";

    int maxLength();

}
